package cn.tedu.kaifanlav1.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class UserVO {
    @ApiModelProperty(value = "菜id")
    private Long id;
    @ApiModelProperty(value = "菜名")
    private String foodName;
    @ApiModelProperty(value = "菜品介绍")
    private String foodIntroduce;
    @ApiModelProperty(value = "价格")
    private Integer price;
    @ApiModelProperty(value = "图片")
    private String foodUrl;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}